package com.maiji.cloud.service;

import com.baomidou.mybatisplus.service.IService;
import com.maiji.cloud.entities.shopingmall.TaskEntity;
import com.maiji.cloud.entities.shopingmall.TaskLog;
import com.maiji.cloud.request.ReqMetaData;
import com.maiji.cloud.response.BaseMetaResDto;
import com.maiji.cloud.response.BaseResDto;

import java.util.Date;
import java.util.List;

public interface TaskService extends IService<TaskEntity> {

    BaseMetaResDto<List<TaskEntity>> findAllTasks(ReqMetaData metaData);

    BaseResDto editTask(TaskLog taskLog);

    BaseMetaResDto<List<TaskLog>> findAllTaskLogs (List<Date> updateDates, ReqMetaData metaData);
}
